/* Project: POPS
 * CS 279, Vanderbilt University
 * by: Igor I. Ges, Michael S. Parrish, Mark E. Sakauye
 *
 *  This program is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation, either version 3 of the License, or
 *   (at your option) any later version.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package com.popsGUI.java;

/**
 *
 * @author  __USER__
 */
public class testPanel extends javax.swing.JPanel {

	/** Creates new form testPanel */
	public testPanel() {
		initComponents();
	}

	/** This method is called from within the constructor to
	 * initialize the form.
	 * WARNING: Do NOT modify this code. The content of this method is
	 * always regenerated by the Form Editor.
	 */
	//GEN-BEGIN:initComponents
	// <editor-fold defaultstate="collapsed" desc="Generated Code">
	private void initComponents() {

		testbutton2 = new javax.swing.JButton();
		testbutton1 = new javax.swing.JButton();
		testlabel2 = new javax.swing.JLabel();
		testlabel1 = new javax.swing.JLabel();

		testbutton2.setText("Here's another button");

		testbutton1.setText("Here's a button");
		testbutton1.addActionListener(new java.awt.event.ActionListener() {
			public void actionPerformed(java.awt.event.ActionEvent evt) {
				testbutton1ActionPerformed(evt);
			}
		});

		testlabel2.setText("Here's another label");

		testlabel1.setText("Here's a label");

		javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
		this.setLayout(layout);
		layout
				.setHorizontalGroup(layout
						.createParallelGroup(
								javax.swing.GroupLayout.Alignment.LEADING)
						.addGroup(
								layout
										.createSequentialGroup()
										.addContainerGap()
										.addGroup(
												layout
														.createParallelGroup(
																javax.swing.GroupLayout.Alignment.LEADING)
														.addGroup(
																layout
																		.createParallelGroup(
																				javax.swing.GroupLayout.Alignment.LEADING,
																				false)
																		.addComponent(
																				testbutton1,
																				javax.swing.GroupLayout.DEFAULT_SIZE,
																				javax.swing.GroupLayout.DEFAULT_SIZE,
																				Short.MAX_VALUE)
																		.addComponent(
																				testbutton2,
																				javax.swing.GroupLayout.DEFAULT_SIZE,
																				javax.swing.GroupLayout.DEFAULT_SIZE,
																				Short.MAX_VALUE)
																		.addComponent(
																				testlabel1))
														.addComponent(
																testlabel2,
																javax.swing.GroupLayout.DEFAULT_SIZE,
																149,
																Short.MAX_VALUE))
										.addContainerGap()));
		layout
				.setVerticalGroup(layout
						.createParallelGroup(
								javax.swing.GroupLayout.Alignment.LEADING)
						.addGroup(
								layout
										.createSequentialGroup()
										.addContainerGap()
										.addComponent(testlabel1)
										.addGap(18, 18, 18)
										.addComponent(testlabel2)
										.addPreferredGap(
												javax.swing.LayoutStyle.ComponentPlacement.RELATED,
												20, Short.MAX_VALUE)
										.addComponent(testbutton1).addGap(26,
												26, 26).addComponent(
												testbutton2).addGap(245, 245,
												245)));
	}// </editor-fold>
	//GEN-END:initComponents

	private void testbutton1ActionPerformed(java.awt.event.ActionEvent evt) {
		testlabel1.setVisible(false);
		testlabel2.setVisible(false);
	}

	//GEN-BEGIN:variables
	// Variables declaration - do not modify
	private javax.swing.JButton testbutton1;
	private javax.swing.JButton testbutton2;
	private javax.swing.JLabel testlabel1;
	private javax.swing.JLabel testlabel2;
	// End of variables declaration//GEN-END:variables

}